package com.outstanding.ifml;


/**
 * 字段的值类型
 * @author chenzhixuan
 *
 */
public enum ItemValueClass {
	string,
	number,
	array,
	object,
	listobject;
	
	
	
	
	public ItemValueClass value(String str) {
		switch(str) {
			case "string":
				return string;
			case "number":
				return number;
			case "array":
				return array;
			case "object":
				return object;
			case "listobject":
				return listobject;
			default:
				return null;
		}
	}
}
